package top.frsf.autocodegen.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author FRSF
 * @since 2024/8/6 13:11
 */
@Data
@Schema(description = "代码生成DTO")
public class CodeGenDTO {

    @Schema(description = "表ID")
    @NotNull(message = "导出的表ID不能为空")
    private Integer tableId;

    @Schema(description = "模板名称")
    @NotNull(message = "模板名称不能为空")
    private String modelName;
}
